<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%
String portalPath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <title>用户登录成功</title>
    <meta http-equiv="pragma" content="no-cache"/>
    <meta http-equiv="cache-control" content="no-cache"/>
    <meta http-equiv="expires" content="0"/>
    <meta http-equiv="keywords" content="Open Portal"/>
    <meta http-equiv="description" content="Open Portal info"/>
    <link type="text/css" href="css/index.css" rel="stylesheet" />

</head>
<%
String msg=(String)request.getAttribute("msg");
String ip=(String)request.getAttribute("ip");
%>

<body>
    <div id="page-content">
        <div id="login-page">
            <div id="logo">
                <a href="<%=basePath%>"><img alt="LaterThis" src="images/logo.png" /></a>
            </div>
          
              <div id="success-login">
              <p>
                        <label style="text-align: center ;"><font color="red"><b id="msg"><%=msg%></b></font></label> <br/>
                    </p>
			        <p>
			          <label>感谢你的使用！！</label><span id="success-user" class="id-note"><font color="red"><b></b></font></span>
			          <br/>
			           <label>IP地址：</LABEL><span id="success-user" class="id-note"><font color="red"><b><%=ip%></b></font></span>
			           <br/>
			        </p>
			        <p>
			         
			        </p>
			      </div>
              
              
                <p id="signup">
                   Copyright &copy; 2014 - 2015 <a href="<%=basePath%>">OpenPortal Server-李硕</a>.  All Rights Reserved.
               </p>
        </div>
    </div>
</body>
</html>